package com.hzit.service.impl;

import com.hzit.entity.Classes;
import com.hzit.mapper.ClassesMapper;
import com.hzit.service.IClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl implements IClassesService {
	@Autowired
	private ClassesMapper classesMapper;
	@Override
	public List<Classes> findAll() {
		return classesMapper.selectByExample(null);
	}
}
